package com.secondkill.service;

import com.secondkill.entity.Test;
import com.secondkill.dao.TestMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by IBM on 2018/7/2.
 */
@Service
public class TestServiceImpl {

    @Autowired
    TestMapper testMapper;

    public Test findById(int id) {
        Test byId = testMapper.findById(id);
        return byId;
    }
}
